<%@ page import="com.useeinfo.framework.sugar.tools.Configuration" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<meta name="viewport"
      content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<html>
<head>
    <link href="<c:url value="/resources/fonts/font-awesome.css" />" rel="stylesheet">
    <link rel="stylesheet" href="<c:url value="/resources/css/login.css"/>">
    <title><%=Configuration.getConfigurationByName("productName") %>
    </title>
    <script>
        if (window != top) {
            top.location.href = location.href;
        }
    </script>
</head>
<body>
<div class="login">
    <div class="login-form">
        <img class="login-img" src="<c:url value="/resources/images/logo.png" />"/>
        <div class="login-form-input">
            <form action="<c:url value="/j_spring_security_check" />" method="post" novalidate="novalidate">
                <h1>登录</h1>
                <h4>输入账号和密码，登录易优服主平台系统</h4>
                <h3>账号</h3>
                <div class="username-class">
                    <img src="<c:url value="/resources/images/user.png"/>"/>
                    <input type="text" id="username" name="j_username" value="" autocomplete="off"></input>
                </div>
                <h3>密码</h3>
                <div class="password-class">
                    <img src="<c:url value="/resources/images/password.png"/>" onmousedown="$('#password').attr('type','text')"  onmouseup="$('#password').attr('type','password')"/>
                    <input type="password" id="password" name="j_password" value=""   autocomplete="off"/>
                </div>
                <p>
                    <button type="submit" id="btnSubmit"  data-loading="登录验证成功，正在进入..." data-login-valid="正在验证登录，请稍后..."><span>登 录</span></button>
                </p>
            </form>
        </div>
    </div>

</div>
<script src="<c:url value="/resources/jquery/jquery-1.12.4.js" />"></script>
<script src="<c:url value="/resources/layer/3.1/layer.js" />"></script>
<script src="<c:url value="/resources/jeesite/jeesite.js" />"></script>
<script src="<c:url value="/resources/jeesite/jeesite_zh_CN.js" />"></script>
<script>
    if(${param.error}){
        js.showErrorMessage('用户名密码输入错误,请重新输入！');
    }
</script>
</body>
</html>
